<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@taglib prefix="s"  uri="/struts-tags"%>

<title>${title }</title><span id="navlink">系统设置>> 证件类型管理>>${title }</span>
<s:form action="addCredentialAction" method="post" id="form">
<s:if test='Flag=="EDIT"'>
	<input type="hidden" name="credentialid" value="${credential.credentialid}" />
</s:if>	
<table class="table_box table_all_border" cellspacing="0" cellpadding="0">
	<tr><td align="right" style="width:45%"><span class="need">*</span>证件名称</td>
	<td><input type="text" name="credential.credentialtype" value="${credential.credentialtype}"/></td></tr>
	<tr><td align="right"><span class="need">*</span>是否启用</td>
	<td><input type="radio" name="credential.enabled" value="1" <s:if test='credential.enabled=="1"'>checked="checked"</s:if> />启用
    <input type="radio" name="credential.enabled" value="0" <s:if test='credential.enabled=="0"'>checked="checked"</s:if> />停用</td></tr>
</table>

<div id="button_area">
<s:if test='Flag=="EDIT"'>
    <s:submit name="edit" value="提交" method="edit"/>
</s:if><s:elseif test='Flag=="ADD"'>
	<s:submit name="add" value="提交" method="add"/>
</s:elseif>
</div>       
</s:form>
